Drug delivery device with electronics

ABSTRACT

A device for delivering medication to a user may include a main body, an electronics module, and a slider. The main body may include a mouthpiece, a medication reservoir, and a mouthpiece cover, where the mouthpiece cover may be hinged to the main body. The electronics module may include a communication circuit, a pressure sensor, and a switch. The slider may be configured to engage the switch when the mouthpiece cover moves from a closed position to an open position. The switch may be configured to switch the electronics module from an off state or a sleep state to an active state. The electronics module may be configured to never return to the off state after the mouthpiece cover is moved to expose the mouthpiece for the first time by the user.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of Provisional U.S. Patent Application No. 62/424,306, filed Nov. 18, 2016, the disclosure of which is incorporated herein by reference in its entirety.

BACKGROUND

Drug delivery devices facilitate the delivery of medication into a patient's body via various routes of administration. Typical routes of administration include oral, topical, sublingual inhalation, injection and the like. The devices may be used to deliver medications for the treatment various diseases, ailments and medical conditions. Inhalation devices, for example, may be used to treat asthma, chronic obstructive pulmonary disease (COPD) and cystic fibrosis (CF). While drug delivery devices are designed to deliver an appropriate dose of medication to a patient as part of a therapeutic treatment, the effectiveness of a particular treatment may be influenced by non-physiological factors, such as the patient's adherence and compliance.

In the context of a drug therapy, adherence may refer to the degree to which a patient is following a prescribed dosing regimen. For example, if the patient's prescription calls for two doses each day, and the patient is taking two doses per day, the patient may be considered 100% adherent. If the patient is only taking one dose per day, he or she may be deemed only 50% adherent. In the latter case, the patient may not be receiving the treatment prescribed by his or her doctor, which may negatively affect the efficacy of the therapeutic treatment.

Compliance may refer to a patient's technique when using a particular drug delivery device. If the patient is using the device in a manner that is recommended by a doctor or by a manufacturer, the device is likely to deliver the desired dose of medication and the patient may be deemed compliant. However, if the device is not being used properly during drug administration, the device's ability to deliver a proper dose of medication may be compromised. As such, the patient may be deemed non-compliant. In the case of an inhalation device, for example, the patient may need to achieve a minimum inspiratory effort to ensure a full dose of medication is delivered from the device into the patient's lungs. For some patients, such as children and the elderly, meeting the requirements for full compliance may be difficult due to physical limitations, such as limited lung function. Accordingly, like adherence, failing to achieve full compliance may reduce the effectiveness of a prescribed treatment.

A patient's ability to achieve full compliance may be further complicated by certain physical properties of the medication. For example, some respiratory medications may consist of fine particles and/or may lack any odor or taste. Thus, a patient using an inhalation device may not be able to correct a non-compliant use because he or she may not be able to immediately detect or sense that medication is being inhaled and/or know whether the amount of inhaled medication complies with the prescription.

SUMMARY

A drug delivery device may be adapted to include an electronics module that is configured to sense, track, and/or process usage conditions and parameters associated with the device (e.g., to improve adherence and compliance). The electronics module may be further configured to communicate the conditions and parameters to external devices, such as a smartphone, for similar and/or further processing. The inclusion of an electronics module in a drug delivery device opens the doors to a wealth of digital improvements and features to enhance the use of the device. The electronics module, in this context, may create a platform to leverage helpful smartphone applications and powerful data analytics. However, the introduction of electronics into any drug delivery device may introduce certain technical challenges, such as durability, reliability, electro-mechanical integration, power management, and drug delivery performance. The present disclosure provides solutions for inclusion of certain electrical components with a drug delivery device, such as an inhaler.

Examples of inhalation devices (e.g., breath-actuated inhalers) are provided herein. The inhalation device may include a main body having a mouthpiece and a mouthpiece cover, a slider at least partially disposed within the main body, and an electronics module having a switch and a pressure sensor. The electronics module may be configured to be in an off state prior to a user moving the mouthpiece cover to expose the mouthpiece for the first time. When the mouthpiece cover is moved to expose the mouthpiece, the slider may be configured to engage the switch, which may cause the electronics module to transition from the off state to an active state and to sense inhalation by the user through the mouthpiece. The electronics module may be configured to not return to the off state after the mouthpiece cover is moved to expose the mouthpiece for the first time by the user (e.g., throughout the life of the inhalation device and/or battery). The electronics module may be configured to start an internal counter when transitioning from the off state. The electronics module is configured to timestamp inhalation events, inhalation metrics, error events, pressure measurements, mouthpiece cover opening events, etc. based on the internal counter.

The pressure sensor may be configured to measure a plurality of pressure changes within the inhaler resulting from the user's inhalation through the mouthpiece after the mouthpiece cover is moved from the closed position to the open position. The pressure sensor may be configured to take measurements for a predetermined period of time or until a predetermined event is detected (e.g., an inhalation, a closing of the mouthpiece cover, etc.). The electronics module may also include a processor configured to determine one or more inhalation parameters based on the plurality of measured pressure changes. The inhalation parameters may include, but are not limited to, a peak flow rate, a time to peak flow rate, an inhaled volume, and an inhalation duration. The electronics module may also include a communications circuit configured to wirelessly transmit the inhalation parameters to an external device.

When in the active state, the electronics module may be configured to measure one or more pressure changes within the inhaler resulting from the user's inhalation through the mouthpiece, determine inhalation parameters based on the one more measured pressure changes, store the inhalation parameters in a local memory, advertise to an external device, and/or transmit the inhalation parameters to the external device.

The electronics module may be configured to be in a sleep state when not in the off state or the active state. The electronics module may be configured to change from the active state to the sleep state upon the electronics module determining that the pressure measurement received from a pressure sensor does not fall within the predetermined range for a predetermined amount of time (e.g., a user not inhaling from the mouthpiece for the predetermined amount of time), where the predetermined amount of time is based on the internal counter. The electronics module may be configured to store a timeout event and associated timestamp when the mouthpiece cover is moved to the open position and the electronics module does not determine that a pressure measurement received from the pressure sensor is within the predetermined range within the predetermined amount of time (e.g., a user not inhaling from the mouthpiece for the predetermined amount of time), where the timestamp of the timeout event is based on the internal counter.

Upon determining that the pressure measurement received from a pressure sensor is within the predetermined range, the electronics module may be configured to generate an inhalation event and associated timestamp for the inhalation event, and store the inhalation event and associated timestamp in memory of the inhaler, where the timestamp of the inhalation event based on the internal counter. Upon storing the inhalation event and associated timestamp in memory, the electronics module may be configured to cause the communication circuit to transmit advertisements at a first advertising rate in an attempt to sync up with an external device. If the communication circuit successfully syncs with the external device, the communication circuit may be configured to transmit the inhalation event and associated timestamp to the external device. If the communication circuit does not successfully sync with the external device after a predetermined amount of time, the communication circuit may be configured to transmit the advertisements at a second advertising rate that is slower than the first advertising rate.

The electronics module may be configured to transition between the active state and a sleep state at the first rate when the mouthpiece cover is in the closed position. The electronics module may be configured to cause the communication circuit to transmit advertisements at a first advertising rate in an attempt to sync up with an external device when the mouthpiece cover is in the open position, and transmit advertisements at a second advertising rate that is slower than the first advertising rate when the mouthpiece cover is in the closed position.

When in the active state, the electronics module may be configured to sample pressure measurements received from a pressure sensor at a predetermined rate, and configured to power off the sensor system between the sampling times of the pressure measurements received from the pressure sensor. The electronics module may be configured to perform calculations on the pressure measurements received from the pressure sensor between the sampling times. The electronics module may be configured to change from the active state to a sleep state upon the mouthpiece cover returning to the closed position.

A system comprising: a mobile application; and a breath-actuated inhaler for delivering medication to a user, the inhaler comprising a mouthpiece, a mouthpiece cover, an electronics module, and a medication reservoir, the mouthpiece cover hinged to the main body, and the electronics module comprising a communication circuit, a power supply, a sensor system, a battery, and a switch; wherein the electronics module is configured to start an internal counter when the mouthpiece cover is first moved from a closed position to an open position by a user; wherein the mobile application is configured to query the breath-actuated inhaler to retrieve event data, the event data comprising a mouthpiece cover opening event, a timestamp, and inhalation profile information.

The electronics module is configured to run the internal counter upon when the mouthpiece cover is in the closed position and in the open position after the first time the mouthpiece cover is moved to the open position by the user. The inhalation profile information comprises one or more of peak flow of pressure data provided by the sensor system, volume of the pressure data, time-to-peak of the pressure data, or duration of the pressure data. The event data comprises one or more of a status flag indicating whether an inhalation event was low inhalation, good inhalation, no inhalation, or an exhalation. The event data comprises information relating to whether the mouthpiece cover is in the open position or the closed position.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a front perspective view of an example inhalation device.

FIG. 2 is a cross-sectional interior perspective view of the example inhalation device of FIG. 1.

FIG. 3 is an exploded perspective view of the example inhalation device of FIG. 1 with a top cap removed to expose an electronics module.

FIG. 4 is an exploded perspective view of the top cap and the electronics module of the example inhalation device of FIG. 1.

FIG. 5A is a partial cross-sectional view of the example inhalation device of FIG. 1 with a mouthpiece cover of the inhalation device in a closed position.

FIG. 5B is a partial cross-sectional view of the example inhalation device of FIG. 1 with the mouthpiece cover of the inhalation device in a partially open position.

FIG. 5C is a partial cross-sectional view of the example inhalation device of FIG. 1 with the mouthpiece cover of the inhalation device in a partially open position.

FIG. 5D is a partial cross-sectional view of the example inhalation device of FIG. 1 with the mouthpiece cover of the inhalation device in a fully open position.

FIG. 6A and 6B include a flow diagram that illustrates an example process for transitioning between one or more power states and/or operational modes associated with the inhalation device.

FIG. 7 is a graph of exemplary airflow rates through the example inhalation device of FIG. 1 based on pressure measurements recorded by the electronics module.

FIG. 8 is a diagram of an example system including an inhalation device.

DETAILED DESCRIPTION

The present disclosure describes devices, systems and methods for sensing, tracking and/or processing usage conditions and parameters associated with a drug delivery device. The devices, systems and methods are described in the context of a breath-actuated inhalation device for delivering medication into a user's lungs. However, the described solutions are equally applicable to other drug delivery devices, such as an injector, a metered-dose inhaler, a nebulizer, a transdermal patch, or an implantable.

FIG. 1 is a front perspective view of an example inhalation device 100. FIG. 2 is a cross-sectional interior perspective view of the example inhalation device 100. FIG. 3 is an exploded perspective view of the example inhalation device 100 with a top cap removed to expose an electronics module. FIG. 4 is an exploded perspective view of the top cap and the electronics module of the example inhalation device 100.

The example, inhalation device 100 may be a breath-actuated inhalation device. The inhalation device 100 may include a top cap 102, a main housing 104, a mouthpiece 106, a mouthpiece cover 108, an electronics module 120, and an air vent 126. The mouthpiece cover 108 may be hinged to the main housing 104 so that it may open and close to expose the mouthpiece 106. Although illustrated as a hinged connection, the mouthpiece cover 106 may be connected to the inhalation device 100 through other types of connections. Moreover, while the electronics module 120 is illustrated as housed within the top cap 102 at the top of the main housing 104, the electronics module 120 may be integrated and/or housed within main body 104 of the inhalation device 100.

Inside the main housing 104, the inhalation device 100 may include a medication reservoir 110 (e.g., a hopper), a bellows 112, a bellows spring 114, a yoke 118, a dosing cup 116, a dosing chamber 117, a deagglomerator 121 and a flow pathway 119. The medication reservoir 110 may include medication, such as dry powder mediation, for delivery to the user. When the mouthpiece cover 108 is moved to expose the mouthpiece 106 (e.g., from a closed position to an open position), the bellows 112 may compress to deliver a dose of medication from the medication reservoir 110 to the dosing cup 116. Thereafter, a user may inhale through the mouthpiece 106 in an effort to receive the dose of medication. The airflow generated from the user's inhalation may cause the deagglomerator 121 to aerosolize the dose of medication by breaking down the agglomerates of the medicament in the dose cup 116. The deagglomerator 121 may be configured to aerosolize the medication when the airflow through the flow pathway 119 meets or exceeds a particular rate, or is within a specific range. When aerosolized, the dose of medication may travel from the dosing cup 116, into the dosing chamber 117, through the flow pathway 119, and out of the mouthpiece 106 to the user. If the airflow through the flow pathway 119 does not meet or exceed a particular rate, or is not within a specific range, some or all of the medication may remain in the dosing cup 116. In the event that the medication in the dosing cup 116 has not been aerosolized by the deagglomerator 121, another dose of medication may not be delivered from the medication reservoir 110 when the mouthpiece cover 108 is subsequently opened. Thus, a single dose of medication may remain in the dosing cup until the dose has been aerosolized by the deagglomerator 121.

As the user inhales through the mouthpiece 106, air may enter the air vent 126 to provide a flow of air for delivery of the medication to the user. The flow pathway 119 may extend from the dosing chamber 117 to the end of the mouthpiece 106, and include the dosing chamber 117 and the internal portions of the mouthpiece 106. The dosing cup 116 may reside within or adjacent to the dosing chamber 117. Further, the inhalation device 100 may include a dose counter 111 that is configured to be initially set to a number of total doses of medication within the medication reservoir 110 and to decrease by one each time the mouthpiece cover 108 is moved from the closed position to the open position.

The top cap 102 may be attached to the main housing 104. For example, the top cap 102 may be attached to the main housing 104 through the use of one or more clips that engage recesses on the main housing 104. The top cap 102 may overlap a portion of the main housing 104 when connected, for example, such that a substantially pneumatic seal exists between the top cap 102 and the main housing 104. The top surface of the main housing 104 may include one or more (e.g., two) orifices 147. One of the orifices 147 may be configured to accept a slider 140. For example, when the top cap 102 is attached to the main housing 104, the slider 140 may protrude through the top surface of the main housing 104 via one of the orifices 147.

The slider 140 may define an arm 142, a stopper 144, and a distal base 145. The distal end 145 may be a bottom portion of the slider 140. The distal end 145 of the slider 140 may be configured to abut the yoke 118 that resides within the main housing 104 (e.g., and the mouthpiece cover 108 is in the closed or partially open position). The distal end 145 may be configured to abut a top surface of the yoke 118 when the yoke 118 is in any radial orientation. For example, the top surface of the yoke 118 may include a plurality of apertures (not shown), and the distal end 145 of the slider 140 may be configured to abut the top surface of the yoke 118, for example, whether or not one of the apertures is in alignment with the slider 140.

The top cap 102 may include a slider guide 148 that is configured to receive a slider spring 146 and the slider 140. The slider spring 146 may reside within the slider guide 148. The slider spring 146 may engage an inner surface of the top cap 102, and the slider spring 146 may engage (e.g., abut) an upper portion (e.g., a proximate end) of the slider 140. When the slider 140 is installed within the slider guide 148, the slider spring 146 may be partially compressed between the top of the slider 140 and the inner surface of the top cap 102. For example, the slider spring 146 may be configured such that the distal end 145 of the slider 140 remains in contact with the yoke 118 when the mouthpiece cover 108 is closed. The distal end 145 of the slider 145 may also remain in contact with the yoke 118 while the mouthpiece cover 108 is being opened or closed. The stopper 144 of the slider 140 may engage a stopper of the slider guide 148, for example, such that the slider 140 is retained within the slider guide 148 through the opening and closing of the mouthpiece cover 108, and vice versa. The stopper 144 and the slider guide 148 may be configured to limit the vertical (e.g., axial) travel of the slider 140. This limit may be less than the vertical travel of the yoke 118. Thus, as the mouthpiece cover 108 is moved to an open position, the yoke 118 may continue to move in a vertical direction towards the mouthpiece 106 but the stopper 144 may stop the vertical travel of the slider 140 such that the distal end 145 of the slider 140 may no longer be in contact with the yoke 118.

The electronics module 120 may include a printed circuit board (PCB) assembly 122, a switch 130, a power supply (e.g., a battery 126), and/or a battery holder 124. The PCB assembly 122 may include may include surface mounted components, such as a sensor system 128, a wireless communication circuit 129, the switch 130, and or one or more indicators (not shown), such as one or more light emitting diodes (LEDs). The electronics module 120 may include a controller (e.g., a processor) and/or memory. The controller and/or memory may be physically distinct components of the PCB 122. Alternatively, the controller and memory may be part of another chipset mounted on the PCB 122. For example, the wireless communication circuit 129 may include the controller and/or memory for the electronics module 120. The controller of the electronics module 120 may include a microcontroller, a programmable logic device (PLD), a microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or any suitable processing device or control circuit.

The controller may access information from, and store data in the memory. The memory may include any type of suitable memory, such as non-removable memory and/or removable memory. The non-removable memory may include random-access memory (RAM), read-only memory (ROM), a hard disk, or any other type of memory storage device. The removable memory may include a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, and the like. The memory may be internal to the controller. The controller may also access data from, and store data in, memory that is not physically located within the electronics module 120, such as on a server or a smartphone.

The sensor system 128 may include one or more sensors, including, for example, one or more pressure sensors. The one or more pressure sensors may include a barometric pressure sensor (e.g., an atmospheric pressure sensor), a differential pressure sensor, an absolute pressure sensor, and/or the like. The sensors may employ microelectromechanical systems (MEMS) and/or nanoelectromechanical systems (NEMS) technology. The sensor system 128 may be configured to provide an instantaneous pressure reading to the controller of the electronics module 120 and/or aggregated pressure readings over time. As illustrated in FIGS. 2 and 3, the sensor system 128 may reside within the inhalation device 100 but remain outside of the flow pathway 119. Accordingly, the sensor system 128 may be configured to measure a plurality of atmospheric pressures within the inhalation device 100.

It will be appreciated that the atmospheric pressure within the device 100 (e.g., within the top cap 102 or within the housing 104) may be the same as or similar to the atmospheric pressure outside the device 100 when the device 100 is not being used. However, when a user inhales from the mouthpiece 106, the user's inhalation may cause the atmospheric pressure within the device 100 to decrease. Conversely, an exhalation into the mouthpiece 106 may cause the atmospheric pressure within the device 100 to increase. In both cases, the atmospheric pressure within the device 100 may differ from the atmospheric pressure outside of the device 100. Accordingly, certain parameters or metrics associated with the inhalation or exhalation may be determined by comparing changes in atmospheric pressure resulting from the inhalation or exhalation.

The controller of the electronics module 120 may receive signals corresponding to pressure measurements from the sensor system 128. The controller may calculate or determine one or more airflow metrics (e.g., a peak flow rate, a time to peak flow rate, an inhaled volume, an inhalation duration, etc.) using the signals received from the sensor system 128. The airflow metrics may be indicative of a profile of airflow through the flow pathway 119 of the inhalation device 100. For example, if the sensor system 128 records a change in pressure of 0.3 kilopascals (kPA), the electronics module 120 may determine that the change corresponds to an airflow rate of approximately 45 liters per minute (Lpm) through the flow pathway 119. FIG. 7 shows an example of airflow rates based on various pressure measurements. It will be appreciated that the airflow rates and profile shown in FIG. 7 are merely examples and that determined rates may depend on the size, shape, and design of the inhalation device 100 and its internal components.

The airflow metrics may include one or more of an average flow of an inhalation/exhalation, a peak flow of an inhalation/exhalation (e.g., a maximum inhalation achieved), a volume of an inhalation/exhalation, a time to peak of an inhalation/exhalation, and/or the duration of an inhalation/exhalation. The airflow metrics may also be indicative of the direction of flow through the flow pathway 119. That is, a negative change in pressure may correspond to an inhalation from the mouthpiece 106, while a positive change in pressure may correspond to an exhalation into the mouthpiece 106. When calculating the airflow metrics, the electronics module 120 may be configured to eliminate or minimize any distortions caused by environmental conditions. For example, the electronics module 120 may “zero out” to account for changes in atmospheric pressure before and/or after calculating the airflow metrics. The one or more pressure measurements and/or airflow metrics may be timestamped and stored in the memory of the electronics module 120.

The controller of the electronics module 120 may compare signals received from the sensor system 128 and/or the determined airflow metrics to one or more thresholds or ranges, for example, as part of an assessment of how the inhalation device 100 is being used and/or whether the use is likely to result in the delivery of a full dose of medication. For example, where the determined airflow metric corresponds to an inhalation with an airflow rate below a particular threshold, the electronics module 120 may determine that there has been no inhalation or an insufficient inhalation from the mouthpiece 106 of the inhalation device 100. If the determined airflow metric corresponds to an inhalation with an airflow rate above a particular threshold, the electronics module 120 may determine that there has been an excessive inhalation from the mouthpiece 106. If the determined airflow metric corresponds to an inhalation with an airflow rate within a particular range, the electronics module 120 may determine that the inhalation is “good”, or likely to result in a full dose of medication being delivered. As noted above, the electronics module 120 may include indicators, such as an LED. The indicators may be configured to provide feedback to users regarding their use of the inhalation device 100. Thus, in one example, an LED may illuminate or change color if the airflow metrics correspond to a good inhalation or to no inhalation. The airflow metrics may be computed and/or assessed via external devices as well (e.g., partially or entirely).

More specifically, the wireless communication circuit 129 in the electronics module 120 may include a transmitter and/or receiver (e.g., a transceiver), as well as additional circuity. For example, the wireless communication circuit 129 may include a Bluetooth chip set (e.g., a Bluetooth Low Energy chip set), a ZigBee chipset, a Thread chipset, etc. As such, the electronics module 120 may wirelessly provide data such as pressure measurements, airflow metrics and/or other conditions related to usage of the inhalation device 100, to an external device, including a smartphone. The external device may include software for processing the received information and for providing compliance and adherence feedback to users of the inhalation device 100 via a graphical user interface (GUI).

The battery 126 may provide power to the components of the PCB 122. The battery 126 may be any suitable source for powering the electronics module 120, such as a coin cell battery, for example. The battery 126 may be rechargeable or non-rechargeable. The battery 126 may be housed by the battery holder 124. The battery holder 124 may be secured to the PCB 122 such that the battery 126 maintains continuous contact with the PCB 122 and/or is in electrical connection with the components of the PCB 122. The battery 126 may have a particular battery capacity that may affect the life of the battery 126. As will be further discussed below, the distribution of power from the battery 126 to the one or more components of the PCB 122 may be managed to ensure the battery 126 can power the electronics module 120 over the useful life of the inhalation device 100 and/or the medication contained therein.

The electronics module 120 may have a plurality of power states, each with respective power consumption levels. For example, the electronics module 120 may be configured to operate in a system off state, a sleep state, and/or an active state. The system off state may be characterized by very little or no power consumption, while the sleep state may be characterized by greater power consumption than the off state, and the active state may be characterized by greater power consumption than the sleep state. While the electronics module 120 is in the active state, the electronics module may operate in one or more modes, such as a measurement mode, a data storage/data processing mode, an advertising mode, and/or a connected mode. It should be appreciated that the electronics module 120 may operate in multiple modes at one time (e.g., the modes may overlap). For example, as described in more detail below, the electronics modules 120 may operate in the measurement mode and the data storage/data processing mode at discrete times or simultaneously. That is, the electronics module 120 may be perform all of the measurements prior to processing/storing the data, or the electronics module 120 may perform data processing/storage while at the same time also performing additional measurements (e.g., the electronics modules 120 may switch between the measurement mode and the data storage/data processing mode before either is complete).

In the system off state, the electronics module 120 may consume the least amount of power as compared to the other power states (e.g., the sleep state and the active state). In particular, the electronics module 120 may use a minimal amount of power to monitor a certain pin (or pins) on the controller but other components, such as the sensor system 128, the wireless communications circuit 129 (e.g., the Bluetooth radio) and memory may be powered off. The pin on the controller may be in electrical connection with the switch 130 such that actuation of the switch 130 may result in a certain reference signal on the pin. The reference signal may trigger the controller to transition from the system off state.

The system off state may be the initial state of the electronics module 120 after the inhalation device 100 is assembled or manufactured. Thus, the electronics module 120 may be in a system off state prior to the device 100 being delivered to the user and/or prior to the mouthpiece cover 108 being opened for a first time (e.g., before the first use of the inhalation device 100 by the user). In addition, once the mouthpiece cover 108 has been opened for the first time, the electronics module 120 may not return to the system off state thereafter. In some examples, the controller may start its internal clock (e.g., an internal counter) when the electronics module 120 first exits the off state, and any timestamp data generated by the electronics module 120 may be a relative time based on internal clock of the controller. Accordingly, the internal clock may act as a counter that starts when the electronics module 120 exits the off state. Alternatively or additionally, the controller may include an internal system clock that knows the actual time (e.g., 4:05 pm EST on Nov. 18, 2017) and the timestamp data may include the actual time. In such examples, the controller may use power in the off state to run its real-time clock oscillator and to update its system clock.

As noted above, while the electronics module 120 is the active state, the electronics module 120 may operate in one or more modes, such as a measurement mode, a data storage/data processing mode, an advertising mode, and/or a connected mode. In the sleep state, the switch 130 and the controller may continue to receive power from the battery 126, and the controller may continue to run its oscillator and periodically update its system clock (e.g., continue to increment the internal counter that was started when the electronics module 120 first exited the off state). In some examples, the controller may periodically update the system clock every 250 μs.

Further, while in the sleep state, the controller may receive power from the battery to control one or more additional components of the electronics module 120. For example, during the advertising mode, the controller may periodically power on the communications circuit 129 to wirelessly “advertise” to an external device that data is stored on the inhalation device 100 and is available for wireless download. The communications circuit 129 may transmit advertising packets at any interval that is suitable for managing the power consumption of the electronics module 120 when in the sleep state (e.g., as compared to the interval at which packets may be sent during the active state). For example, advertising packets may be transmitted every 10 seconds when the electronics module 120 is operating in the sleep state. It will be appreciated that the electronics module 120 may spend more time in the sleep state than in any of the other power states. Thus, at a given advertising rate, the electronics module 120 may consume the most power in the sleep state over the life of the inhalation device 100.

In the measurement mode, the controller of the electronics module 120 may power on the sensor system 128. The controller may cause the sensor system 128 to take pressure measurement readings for a predetermined time period (e.g., up to 60 seconds) and/or until the mouthpiece cover 108 is closed or no changes in pressure are detected. The controller may turn off one or more components of the electronics module 120 while the sensor system 128 is capturing pressure measurement readings to further conserve power. The sensor system 128 may sample the pressure at any suitable rate. For example, the sensor system 128 may have a sample rate of 100 Hz and thus a cycle time of 10 milliseconds. The sensor system 128 may generate a measurement complete interrupt after the measurement cycle is complete. The interrupt may “wake” the controller or cause it to turn on one or more components of the electronics module 120. For example, after or while the sensor system 128 is sampling pressure measurements, the controller may process and/or store the pressure measurement data and, if measurements are complete, power off the sensor system 128.

In the data storage/data processing mode, the controller may power on at least a portion of the memory within the electronics module 120. The controller may process the readings from the sensor system 128 to determine airflow metrics and store the airflow metrics in memory. The controller may also compare the readings and/or the airflow metrics to one or more thresholds or ranges to assess how the inhalation device is being used (e.g., whether the pressure readings correspond to no inhalation, a “good” inhalation, to an exhalation, etc.). Depending on the results of the comparison, the controller may drive the indicators to provide feedback to the user of the inhalation device 100. As noted above, the electronics module 120 may operate in the measurement mode and the data storage/data processing mode simultaneously.

In the advertising mode, the controller may power on the communication circuit 129 (e.g., the Bluetooth radio) to advertise to an external device that data is available from the inhalation device 100 and is ready for wireless download. Advertising packets may be transmitted at any interval and for any duration that is suitable for managing the power consumption of the electronics module 120 when in the advertising mode. For example, the communications circuit 129 may transmit advertising packets every 100 milliseconds (ms) for 3 minutes. Further, it should be appreciated that the advertising rate may vary based on the particular conditions of the electronics module 120. For example, the advertising rate may be “slow” (e.g., packets are transmitted every 10 seconds) when the electronics module 120 is transitioning from the sleep state and without the mouthpiece cover 108 moving to the open position, whereas the advertising rate may be “fast” (e.g., packets are transmitted every 100 ms) after the measurements and data processing/storage has occurred.

In the connected mode, the communication circuit and memory may be powered on and the electronics module 120 may be “paired” with an external device, such as a smartphone. The controller may retrieve data from the memory and wirelessly transmit the data to the external device. The controller may retrieve and transmit all of the data currently stored in the memory. The controller may also retrieve and transmit a portion of the data currently stored in the memory. For example, the controller may be able to determine which portions have already been transmitted to the external device and then transmit the portion(s) that have not been previously transmitted. Alternatively, the external device may request specific data from the controller, such as any data that has been collected by the electronics module 120 after a particular time or after the last transmission to the external device. The controller may retrieve the specific data, if any, from the memory and transmit the specific data to the external device.

The electronics module 120 may transition between power states or operational modes based on certain conditions or events, such as the position of the mouthpiece cover 108 and/or the elapse of predetermined time periods. For example, the mouthpiece cover 108 may be closed and the electronics module 120 may be in a system off state or a sleep state. As the mouthpiece cover 108 is moved from the closed position to an open position, the switch 130 may be actuated. The actuation of the switch 130 may cause the electronics module 120 to transition from one state (e.g., the system off state or sleep state) to another state (e.g., the active state). Further, as the actuation of the switch 130 may cause the electronics module 120 to begin operating in one or more operational modes, such as the measurement mode and/or the data storage/data processing mode. For example, FIG. 6A-B illustrate an example flow diagram 200 that illustrates an example process for transitioning between one or more power states and/or operational modes associated with the inhalation device 100.

Further, it should be appreciated that the electronics module 120 may be in the system off state prior to the mouthpiece cover 108 being opened by a user for a first time (e.g., the initial opening of the mouthpiece cover 108 by the user after removing the inhalation device 100 from its packaging). Thereafter, if the mouthpiece cover 108 is returned to the closed state, the electronics module 120 will be in the sleep state (as opposed to the off state). As the user continues to use the inhalation device 100, the electronics module 120 will switch between the sleep state and the active state, based on, for example, one or more events (e.g., an opening/closing of the mouthpiece cover 108, the expiration of a timeout period, the detection of pressure measurements that exceed a threshold (e.g., are indicative of user inhalation), advertising to an external device, etc.).

FIG. 5A-5D describe one example of the internal operation of an inhalation device 100. It should be appreciated that other examples of the inhalation device 100 may include a subset of the actions described herein. Referring to FIG. 5A, the distal end 145 of the slider 140 may be configured to abut the yoke 118 that resides within the main housing 104. When the mouthpiece cover 108 is in the closed position, the arm 142 of the slider 140 may not be in contact with the switch 130. Further, the slider spring 146 and the bellows spring 114 may be in a compressed state. As the user begins to open the mouthpiece cover 108 to expose the mouthpiece 106, the yoke 118 may move upward in the main housing 104, for example, due to a mechanical connection between the yoke 118 and the mouthpiece cover 108. The upward movement of the yoke 118 may cause the slider 140 to move upward within the top cap 102, further compressing the slider spring 146 and the bellows spring 114, for example, as shown in FIG. 5B.

As the mouthpiece cover 108 continues to move toward the fully open state, for example as shown in FIG. 5C, the mouthpiece cover 108 may cause the yoke 118 to drop within the main housing 104 (e.g., due to the downward force applied by the bellows spring 114). The movement of the yoke 118 may cause the slider 140 to drop (e.g., due to the downward force applied by the slider spring 146), which may cause the arm 142 of the slider 140 to engage the switch 130 and begin to actuate the switch 130. The downward movement of the slider 140 may be limited by the position of the yoke 118 as the distal end 145 of the slider 140 may rest upon the top of the yoke 118.

As the mouthpiece cover 108 continues to open, as shown in FIG. 5D, the arm 142 of the slider 140 may actuate the switch 130, which may generate a signal causing the electronics module 120 to change states, such as from the off or sleep state to the active state. Thus, the controller of the electronics module 120 may wake and provide power to the sensor system 128 to enable the sensor system 128 to take pressure measurement readings. Moreover, the movement of the yoke 118 caused by the opening of the mouthpiece cover 108 may also cause the yoke 118 to compress the bellows 112 to cause a bolus of medication to be delivered from the medication reservoir 110 to the dosing cup 116, resulting in the medication being made available to the flow channel 119. The medication may be delivered from the dosing cup 116 through the flow channel and out the mouthpiece 106 when a user inhales from the mouthpiece 106.

FIGS. 6A-B illustrate an example procedure 200 for transitioning between one or more power states and/or operational modes associated with the inhalation device 100. Although described with reference to the inhalation device 100, any inhalation device may perform the procedure 200. The electronics module 120 of the inhalation device 100 may be in the off state at 202, when the procedure 200 begins. The mouthpiece cover 108 may be in the closed position and the user may not have opened the mouthpiece cover 108 for the first time when the electronics module 120 is in the off state at 202. As noted herein, the off state may be characterized by little or no power consumption by the electronics module 120. At 204, the electronics module 120 may determine whether the mouthpiece cover 108 has been moved into the open position. If the electronics module 102 determines that the mouthpiece cover 108 has not been moved into the open position, then the electronics module 120 may reside in the off state at 202.

If the electronics module 120 determines that the mouthpiece cover 108 has been moved into the open position at 204, then the electronics module 120 may enter the system active state at 206. The active state may be characterized by greater power consumption than the off state (e.g. and the sleep state). When in the active state, the electronics module 120 may operate in one or more modes, such as a measurement mode, a data storage/data processing mode, an advertising mode, and/or a connected mode. For example, the opening of the mouthpiece cover 108 may cause the switch 130 to be actuated. The actuation of the switch 130 may cause the electronics module 120 to transition from the off state to the active state.

While in the active state, and after the mouthpiece cover 108 has been opened, the electronics module 120 may enter a measurement mode at 208. During the measurement mode, the electronics module 120 may power on the sensor system 128 and may cause the sensor system 128 to take pressure measurement readings for a predetermined time period (e.g., up to 60 seconds) and/or until the mouthpiece cover 108 is closed or no changes in pressure are detected.

In some examples, the electronics module 120 may remain in the measurement mode until the pressure measurement cycle is complete. The pressure measurement cycle may persist for a predetermined period of time and/or until a particular event is detected. For example, the pressure measurement cycle may persist for up to 60 seconds, even if the mouthpiece cover 108 has been closed and the slider 140 has disengaged from the switch 130. Alternatively, the pressure measurement cycle may persist for up to 60 seconds or until the mouthpiece cover 108 has been closed or until no changes in pressure are detected for 10 seconds, whichever comes first. It will be appreciated that the foregoing conditions are merely examples and that any suitable criteria can be used.

At 212, the electronics module 120 may enter the data processing/data storage mode. During the data processing/data storage mode, the electronics module 120 may power on at least a portion of the memory within the electronics module 120. The electronics module 120 may process the readings from the sensor system 128 to determine inhalation parameters/metrics and store the inhalation parameters/metrics in memory. The electronics module 120 may also compare the readings and/or the inhalation parameters/metrics to one or more thresholds or ranges to assess how the inhalation device is being used (e.g., whether the pressure readings correspond to no inhalation, a “good” inhalation, to an exhalation, etc.). Depending on the results of the comparison, the electronics module 120 may drive the indicators to provide feedback to the user of the inhalation device 100.

Although not illustrated by the procedure 200, the electronics module 120 may operate in the measurement mode and the data storage/data processing mode simultaneously. For example, the electronics module 120 may switch (e.g., periodically switch) between the measurement mode and the data processing/data storage mode. For example, after or while the electronics module 120 is receiving pressure measurements, the electronics module 120 may process and/or store the pressure measurement data.

The electronics module 120 may remain in the data storage/data processing mode for a predetermined period of time to process and store the pressure measurement readings from the sensor system 128. For example, the electronics module 120 may remain in the data storage/data processing mode for up to 60 ms. The electronics module 120 may, for example, use up to 50 ms to process and compute airflow metrics from the pressure measurement readings and up to 10 ms to store the pressure measurements and/or airflow metrics in the memory. Alternatively, the electronics module 120 may remain in the data storage/data processing mode for whatever duration it takes for the controller to process and store the pressure measurement readings and/or air flow metrics.

The electronics module 120 may enter the advertising mode at 216. For example, the electronics module 120 may enter the advertising mode after the predetermined period of time for data processing and data storage has elapsed, or after the controller has determined that such processing and storing are complete. During the advertising mode, the electronics module 120 may power on the communication circuit 129 (e.g., the Bluetooth radio) to advertise to an external device that data is available from the inhalation device 100 and is ready for wireless download. Advertising packets may be transmitted at any interval and for any duration that is suitable for managing the power consumption of the electronics module 120 when in the advertising mode. For example, the communications circuit 129 may transmit advertising packets every 100 milliseconds (ms) for 3 minutes. Further, it should be appreciated that the advertising rate may vary based on the particular conditions of the electronics module 120. For example, the advertising rate may be “slow” (e.g., packets are transmitted every 10 seconds) when the electronics module 120 is transitioning from the sleep state and without the mouthpiece cover 108 moving to the open position (e.g., when transitioning from 230 to 216), whereas the advertising rate may be “fast” (e.g., packets are transmitted every 100 ms) after the measurements and data processing/storage has occurred (e.g., when transitioning from 212 to 216).

At 218, the electronics module 120 may determine if an external device is within range. If the external device does not come within a particular range of the electronics module 120 during the advertising mode, the electronics module 120 may determine whether an advertising period (e.g., 3 minutes) has elapsed at 220. The advertising period may be a period of time that the electronics module 120 continues to advertise to an external device before changing power states. If the advertising period has not elapsed, then the electronics module 120 may continue to advertise to the external device at 216. However, if the advertising period has elapsed, then the electronics module 120 may move to a sleep state at 222. The sleep state may be characterized by greater power consumption than the off state, but less power consumption than the on state.

The electronics module 120 may remain in the sleep state for a predetermined amount of time or until the electronics module determines that the mouthpiece cover 108 has been moved from the closed to the open position. For example, the electronics module 120 may periodically switch between the sleep state and the advertising mode (e.g., the slow advertising mode) of the active state. For example, at 224, the electronics module 120 may determine whether the mouthpiece cover 108 has been moved from the closed to the open position. If the mouthpiece cover 108 has been moved into the open position, then the electronics module 120 may enter the active state at 206. For example, the opening of the mouthpiece cover 108 may cause the switch 130 to be actuated. The actuation of the switch 130 may cause the electronics module 120 to transition from the sleep state to the active state.

If the electronics module 120 determines that the mouthpiece cover 108 remains in the closed position, then the electronics module 120 may determine whether a sleep period (e.g., 10 seconds) has elapsed at 230. If the sleep period has not elapsed at 230, then the electronics module 120 may stay in the sleep state and return to 222. However, if the sleep period has elapsed at 230, then the electronics module 120 may return to the advertising mode of the active state at 216. When the electronics module 120 transitions from 230 to 216, the electronics module 120 may advertises at a different, possibly slower rate as compared to when the electronics module 120 transitions from 212 to 216 (e.g., such as once every 10 seconds as opposed to once every 100 ms). As such, the electronics module 120 may use less battery power during such advertising modes. Further, the electronics module 120 may periodically switch between the active state and the sleep state based on the advertising period and the sleep period (e.g., and while the mouthpiece cover 108 is in the closed position).

Returning to 218, if the external device (e.g., smartphone or tablet) comes within a particular range of the electronics module 120 during the advertising mode, the electronics module 120 may “pair” with the external device and enter the connected mode at 226. In the connected mode, the electronics module 120 may power on the communication circuit and memory. The electronics module 120 may retrieve data from the memory and wirelessly transmit the data to the external device. At 228, the electronics module 120 may determine whether the transmission is complete or the external device is out of communication range. If the transmission is not complete and the external device is within the communication range, then the electronics module 120 will remain in the connected mode. However, if the transmission is complete or if the external device is out of the communication range, then the electronics module 120 will transition to the sleep state at 222.

During the connected mode, the electronics module 120 may retrieve and transmit all of the data currently stored in the memory, or the controller may retrieve and transmit a portion of the data currently stored in the memory. For example, the controller may be able to determine which portions have already been transmitted to the external device and then transmit the portion(s) that have not been previously transmitted (e.g., based on the internal counter). Alternatively or additionally, the external device may request specific data from the electronics module 120, such as any data that has been collected by the electronics module 120 after a particular time or after the last transmission to the external device. The electronics module 120 may retrieve the specific data, if any, from the memory and transmit the specific data to the external device.

Further, when connected with the external device, the electronics module 120 may be configured to transmit Bluetooth special interest group (SIG) characteristics for managing access to records stored in the module 120. The Bluetooth SIG characteristics may include one or more of a manufacturer name of the inhalation device 100, a serial number of the inhalation device 100, a hardware revision number of the inhalation device 100, and/or a software revision number of the inhalation device 100. When connected with the external device, the electronics module 120 may retrieve data from memory and transmit the data to the external device.

The inhalation device 100 may transmit an inhalation event, an inhalation parameter, a pressure measurement, a mouthpiece cover 108 event, an error event, an operating characteristic of the inhalation device (e.g., remaining battery life), and/or associated timestamps (e.g., based on the internal counter) to the external device when in the connected mode. For example, the signals generated by the switch 130, the pressure measurement readings taken by the sensory system 128, and/or the airflow metrics computed by the controller of the electronics modules 120 may be timestamped and stored in memory. The foregoing data may be indicative of various usage parameters associated with the inhalation device 100. For example, as movement of the slider 140 causes the switch 130 to transition between “on” and “off”, the controller of the electronics module 120 may use the signals from the switch 130 to record and timestamp each transition. Further, as the transition of the switch 130 between “on” and “off” may correlate to the position of the mouthpiece cover 108 (e.g., open or closed), the electronics module 120 may be able to detect and track the position of the mouthpiece cover 108 over time. It will be appreciated that the electronics module 120 may be able to sense and track the status of the mouthpiece cover 108 without interfering with the delivery of medication through the flow pathway 119 of the inhalation device 100.

The pressure measurement readings and/or the computed airflow metrics may be indicative of the quality or strength of inhalation from the inhalation device 100. For example, when compared to a particular threshold or range of values, the readings and/or metrics may be used to categorize the inhalation as a certain type of event, such as a good inhalation event, a low inhalation event, a no inhalation event, or an excessive inhalation event.

The no inhalation event may be associated with pressure measurement readings and/or airflow metrics below a particular threshold, such as an airflow rate less than 30 Lpm. The no inhalation event may occur when a user does not inhale from the mouthpiece 106 after opening the mouthpiece cover 108 and during the measurement cycle. The no inhalation event may also occur when the user's inspiratory effort is insufficient to ensure proper delivery of the medication via the flow pathway 119, such as when the inspiratory effort generates insufficient airflow to activate the deagglomerator 121 and, thus, aerosolize the medication in the dosing cup 116.

The low inhalation event may be associated with pressure measurement readings and/or airflow metrics within a particular range, such as an airflow rate between 30 Lpm and 45 Lpm. The low inhalation event may occur when the user inhales from the mouthpiece 106 after opening the mouthpiece cover 108 and the user's inspiratory effort causes at least a partial dose of the medication to be delivered via the flow pathway 119. That is, the inhalation may be sufficient to activate the deagglomerator 121 such that at least a portion of the medication is aerosolized from the dosing cup 116.

The good inhalation event may be associated with pressure measurement readings and/or airflow metrics above the low inhalation event, such as an airflow rate between 45 Lpm and 200 Lpm. The good inhalation event may occur when the user inhales from the mouthpiece 106 after opening the mouthpiece cover 108 and the user's inspiratory effort is sufficient to ensure proper delivery of the medication via the flow pathway 119, such as when the inspiratory effort generates sufficient airflow to activate the deagglomerator 121 and aerosolize a full dose of medication in the dosing cup 116.

The excessive inhalation event may be associated with pressure measurement readings and/or airflow metrics above the good inhalation event, such as an airflow rate above 200 Lpm. The excessive inhalation event may occur when the user's inspiratory effort exceeds the normal operational parameters of the inhalation device 100. The excessive inhalation event may also occur if the device 100 is not properly positioned or held during use, even if the user's inspiratory effort is within a normal range. For example, the computed airflow rate may exceed 200 Lpm if the air vent 126 is blocked or obstructed (e.g., by a finger or thumb) while the user is inhaling from the mouthpiece 106.

It will be appreciated that any suitable thresholds or ranges may be used to categorize a particular event. It will further be appreciated that some or all of the events may be used. For example, the no inhalation event may be associated with an airflow rate below 45 Lpm and the good inhalation event may be associated with an airflow rate between 45 Lpm and 200 Lpm. As such, the low inhalation event may not be used at all in some cases.

The pressure measurement readings and/or the computed airflow metrics may also be indicative of the direction of flow through the flow pathway 119 of the inhalation device 100. For example, if the pressure measurement readings reflect a negative change in pressure, the readings may be indicative of air flowing out of the mouthpiece 106 via the flow pathway 119. If the pressure measurement readings reflect a positive change in pressure, the readings may be indicative of air flowing into the mouthpiece 106 via the flow pathway 119. Accordingly, the pressure measurement readings and/or airflow metrics may be used to determine whether a user is exhaling into the mouthpiece 106, which may signal that the user is not using the device 100 properly.

By timestamping and storing the signals generated by the switch 130, the pressure measurement readings taken by the sensory system 128, and/or the airflow metrics computed by the controller of the electronics module 120, the data collected and stored by the electronics module 120 may be used to determine whether the usage parameters are suitable or appropriate over a given period of time. As such, the data may be indicative of other events, such as an overuse event, an underuse event, or an optimal use event.

For example, the user of the inhalation device 100 may be prescribed by his or her doctor to take two doses of medication via the inhalation device 100 each day. In addition, the medication contained in the inhalation device 100 may also be approved (for safety and regulatory purposes) to be taken no more eight times each day. The overuse event may occur if the electronics module 120 records more than two good inhalations in a twenty-four hour period (i.e., the actual dosing is exceeding the prescribed number of doses) and/or if the electronics module 120 records more than eight good inhalations in a twenty-four hour period (i.e., the actual dosing is exceeding the regulatory approved number of doses). The underuse event may occur if the electronics module 120 records less than two good inhalations in a twenty-four hour period (i.e., the actual dosing is below the prescribed number of doses). The optimal use event may occur if the electronics module 120 records two good inhalations in a twenty-four hour period (i.e., the actual dosing is below the prescribed number of doses). It will be appreciated that optimal use events may be indicative of a user who is adherent. It will further be appreciated that the prescribed dosing schedule and/or the maximum approved dosing schedule may depend on the type of medication contained in the inhalation device 100. In addition, the events may be defined using any suitable number of doses over any suitable period of time, such as two doses per day, fourteen doses per week, 60 doses per month, etc.

The data collected and stored by the electronics module 120 may also be used to estimate the number doses that have been delivered from the inhalation device 100 and/or estimate the number of doses that remain in the medication reservoir 110. For example, each time the switch 130 is activated via the opening of the mouthpiece cover 108, the signal generated by the switch 130 may be counted as a dose delivery event. Thus, the inhalation device 100 may be deemed to have delivered 60 doses when the mouthpiece cover 108 is opened 60 times. The inhalation device 100 may be configured to store enough medication in the medication reservoir 110 to deliver a predefined total number of doses, such as a total of 200 doses. As such, the inhalation device 100 may also be deemed to have 140 doses remaining after the mouthpiece cover 108 is opened 60 times.

As noted above, medication will not be delivered from the medication reservoir 110 upon the user opening the mouthpiece cover 108 if a previous dose of medication was not properly aerosolized by the deagglomerator 121 and/or transferred from the dosing cup 116. Thus, it will be appreciated that counting the number of doses based on the opening of the mouthpiece cover 108 may not accurately reflect the actual number of doses delivered by the device 100 if, for example, a user opens and closes the mouthpiece cover 108 without inhaling from the mouthpiece 106. Accordingly, other data in the electronics module 120 may be used and/or combined with the signals from the switch 130 to determine the number of doses delivered and/or remaining in the deice 100. For example, a dose may be counted as delivered each time a computed airflow metric is above a threshold or within a particular range, such as when a good inhalation event has been recorded. By calculating and tracking the number of doses delivered and/or remaining, the electronics module 120 may be configured to identify a refill event, which may be indicative of a time when a user should consider obtaining a new inhalation device 100.

The data collected and stored by the electronics module 120 may also be used to determine various error conditions associated with the operation of the module 120. For example, when processing the data the electronics module 120 may generate a bad data flag, a data corrupt flag, a timestamp error flag, and/or the like. The electronics module 120 may generate the bad data flag when the controller of the electronics module 120 determines that one or more signals received from the sensor system 128 are outside a predetermined range, which may indicate a malfunction in the sensor system 128. The electronics module 120 may generate the data corrupt flag when the controller's cyclic redundancy check (CRC) of data does not match what is stored in memory, which may indicate a malfunction of the memory and/or that the data in the memory has been corrupted. The electronics module 120 may generate a timestamp error flag when the controller loses its electrical connection with the battery 126, causing the controller's system clock to reset. If the controller's system clock is reset, the controller may restart its clock from the last stored counter value.

The electronics module 120 (e.g., and/or a mobile application residing on an external device) may also analyze the recorded events over a period of time to identity multiple error events, which may include a pattern of use indicative of a user who is not familiar with the proper operation of the inhalation device 100 and thus a user who may require further training. For example, the electronics module 120 may look at the number of good inhalation events over a predetermined period of time and/or over a predetermined number of openings of the mouthpiece cover 108. A multiple error event may occur when a user has had only two good inhalation events over the past week, or has had six or less good inhalations over the last twelve openings of the mouthpiece cover 108. It will be appreciated that the foregoing conditions are merely exemplary and that any suitable pattern of use may be used to define a multiple error event.

The data collected and stored by the electronics module 120 may also be used to assess the amount of power remaining in the battery 126. For example, the controller may determine whether there is a low battery event or condition, such as whether the battery has less than a predetermined amount of charge remaining (e.g., below 10%).

It will be appreciated that electronics module 120 may process and analyze the data stored in memory (e.g., the signals generated by the switch 130, the pressure measurement readings taken by the sensory system 128 and/or the airflow metrics computed by the controller of the PCB 122) to determine the usage parameters associated with the inhalation device 100. For example, the electronics module 120 may process the data to identify no inhalation events, low inhalations events, good inhalation events, excessive inhalation events and/or exhalation events. The electronics module 120 may also process the data to identify underuse events, overuse events and optimal use events. The electronics module 120 may further process the data to estimate the number of doses delivered and/or remaining and to identify error conditions, such as those associated with a timestamp error flag. The electronics module 120 may inform the user of some or all of the foregoing usage parameters of the inhalation devoice 100 using the indicators, such as one or more LEDs. As an example, the electronics module 120 may illuminate an LED to indicate a good inhalation event or change the color of an LED to indicate a low inhalation event or a no inhalation event. The usage parameters may be indicated to the user via any combination of light sequences and/or light color schemes.

It will further be appreciated that the data stored in the memory of the electronics module 120 (e.g., the signals generated by the switch 130, the pressure measurement readings taken by the sensory system 128 and/or the airflow metrics computed by the controller of the electronics module 120) may also be transmitted to an external device, which may process and analyze the data to determine the usage parameters associated with the inhalation device 100. Further, a mobile application residing on the mobile device may generate feedback for the user based on data received from the electronics module 120. For example, the mobile application may generate daily, weekly, or monthly report, provide confirmation of error events or notifications, provide instructive feedback to the user, and/or the like.

FIG. 8 is a diagram of an example system 300 including an inhalation device 302, an external device (e.g., a mobile device 304), a public and/or private network 306 (e.g., the Internet, a cloud network), a health care provider 308, and a third party 310 (e.g., friends, family, pharmaceutical manufacturer, etc.). The mobile device 304 may include a smart phone (e.g., an iPhone® smart phone, an Android® smart phone, or a Blackberry® smart phone), a personal computer, a laptop, a wireless-capable media device (e.g., MP3 player, gaming device, television, a media streaming devices (e.g., the Amazon Fire TV, Nexus Player, etc.), etc.), a tablet device (e.g., an iPad® hand-held computing device), a Wi-Fi or wireless-communication-capable television, or any other suitable Internet-Protocol-enabled device. For example, the mobile device 304 may be configured to transmit and/or receive RF signals via a Wi-Fi communication link, a Wi-MAX communications link, a Bluetooth® or Bluetooth Smart communications link, a near field communication (NFC) link, a cellular communications link, a television white space (TVWS) communication link, or any combination thereof. The mobile device 304 may transfer data through the public and/or private network 306 to the health care provider 308 and/or one or more third parties 310 (e.g., friends, family, pharmaceutical company, etc.).

The inhalation device 302 may be an example of the inhalation device 100. The inhalation device 302 may include a communication circuit, such as a Bluetooth radio, for transferring data to the mobile device 304. The data may include the signals generated by the switch 130, the pressure measurement readings taken by the sensory system and/or the airflow metrics computed by the controller of the electronics module. The inhalation device 302 may receive data from the mobile device 304, such as, for example, program instructions, operating system changes, dosage information, alerts or notifications, acknowledgments, etc.

The mobile device 304 may process and analyze the data to determine the usage parameters associated with the inhalation device 302. For example, the mobile device 304 may process the data to identify no inhalation events, low inhalations events, good inhalation events, excessive inhalation events and/or exhalation events. The mobile device 304 may also process the data to identify underuse events, overuse events and optimal use events. The mobile device 304 may further process the data to estimate the number of doses delivered and/or remaining and to identify error conditions, such as those associated with a timestamp error flag. The mobile device 304 may include a display and software for visually presenting the usage parameters through a GUI on the display.

Further, in some examples, the inhalation device 300 may include an actuator to initiate a pairing process with the mobile device 304. However, the inhalation device 300 may include other means for facilitating the pairing process. For example, the top cap of the inhalation device 300 may include a Quick Response (QR) code. The mobile device 304 may include a camera and software application for accessing the camera and reading the QR code. The QR code may include a BLE passkey that is unique to the inhalation device 300. Upon reading or scanning the QR code using the camera, the software application may receive the BLE passkey associated with the device 300 and complete an authentication process, thereby enabling it to communicate with the electronics module using the BLE passkey. If the communications session is subsequently lost because, for example, the inhalation device 300 moves out of range, the mobile device 304 may be configured to use the BLE passkey to automatically pair with the electronics module without using the QR code when the inhalation device 300 is back within range. 

What is claimed is:
 1. An inhaler for delivering medication to a user, the inhaler comprising: a main body having a mouthpiece and a mouthpiece cover; a slider at least partially disposed within the main body; and an electronics module comprising a controller, sensor, and a switch; wherein the electronics module is configured to be in an off state prior to the mouthpiece cover being moved to expose the mouthpiece for a first time, wherein the first time is when the user exposes the mouthpiece for an initial use; wherein, when the mouthpiece cover is moved to expose the mouthpiece for the first time, the slider is configured to engage the switch, causing the electronics module to transition from the off state to an active state and to sense an inhalation by the user from the mouthpiece using the sensor, and wherein, after the first time, the electronics module is configured to transition from the active state to a sleep state in response to the mouthpiece cover being closed to cover the mouthpiece; wherein, after the mouthpiece cover is moved to expose the mouthpiece for the first time, the electronics module is configured to transition from the sleep state to the active state in response to the mouthpiece cover being moved to expose the mouthpiece such that the electronics module is configured to not return to the off state after the mouthpiece cover is moved to expose the mouthpiece for the first time throughout the life of a battery of the inhaler; and wherein the electronics module is configured to consume less power when in the off state than when in the sleep state, and configured to consume less power when in the sleep state than when in the active state.
 2. The inhaler of claim 1, wherein the electronics module is configured to start an internal counter when transitioning from the off state, and wherein the electronics module is configured to timestamp a sensed inhalation or an opening of the mouthpiece cover based on the internal counter.
 3. The inhaler of claim 2, wherein the sensor comprises a pressure sensor; and wherein the electronics module is configured to change from the active state to the sleep state upon the electronics module determining that pressure measurements received from the pressure sensor do not fall within a predetermined range for a predetermined amount of time, the predetermined amount of time based on the internal counter.
 4. The inhaler of claim 3, wherein the electronics module comprises memory, and wherein the controller is configured to store a timeout event and associated timestamp in the memory when the mouthpiece cover is moved to expose the mouthpiece and the pressure measurements are not within the predetermined range within the predetermined amount of time.
 5. The inhaler of claim 1, further comprising medication that comprises (A) salbutamol sulfate, (B) fluticasone propionate, (C) fluticasone propionate and salmeterol, or (D) beclomethasone.
 6. The inhaler of claim 1, wherein the sensor comprises a pressure sensor configured to measure pressure within the inhaler after the mouthpiece cover is moved from a closed position to an open position.
 7. The inhaler of claim 6, wherein the controller is configured to cause the pressure sensor to take measurements for a predetermined period of time or until a predetermined event is detected.
 8. The inhaler of claim 7, wherein the controller is configured to determine one or more inhalation parameters based on the measurements taken by the pressure sensor, and wherein the one or more inhalation parameters comprise: a peak flow rate; a time to peak flow rate; an inhaled volume; and an inhalation duration.
 9. The inhaler of claim 8, wherein the electronics module further includes a communications circuit configured to wirelessly transmit the one or more inhalation parameters to an external device.
 10. The inhaler of claim 1, wherein the controller of the electronics module is configured to monitor one or more pins of the controller when in the off state, and wherein the electronics module is configured to not supply power to the sensor when in the off state.
 11. The inhaler of claim 1, wherein the electronics module further comprises memory and a wireless communication circuit, and wherein the sensor comprises a pressure sensor; and wherein, when in the active state, the electronics module is configured to perform at least one of the following: measure pressure within the inhaler after the mouthpiece cover is moved to expose the mouthpiece; determine one or more inhalation parameters based on the measured pressure; store the one or more inhalation parameters in a local memory; advertise to an external device; or transmit the one or more inhalation parameters to the external device.
 12. The inhaler of claim 1, further comprising: a dose counter configured to decrement each time the mouthpiece cover is moved to expose the mouthpiece; and wherein the electronics module is configured to record a dose delivery event each time the switch is engaged and the electronics module to transitions to the active state or when an airflow metric computed based on measurements received from the sensor being above a threshold or within a range.
 13. A method for delivering medication via an inhaler comprising a battery and an electronics module, the method comprising: maintaining the electronics module in an off state prior to a mouthpiece cover being moved to expose a mouthpiece for a first time, wherein the first time is when the user exposes the mouthpiece for an initial use, and wherein the electronics module comprising a controller, a sensor, and a switch; actuating the switch, via a slider of the inhaler, when the mouthpiece cover is moved to expose the mouthpiece; transitioning the electronics module from the off state to an active state when the switch is actuated for the first time; sensing an inhalation of a user from the mouthpiece; and delivering a dose of medication; wherein, after the first time, the electronics module is configured to transition from the active state to a sleep state in response to the mouthpiece cover being closed to cover the mouthpiece; wherein, after the mouthpiece cover is moved to expose the mouthpiece for the first time, the electronics module is configured to transition from the sleep state to the active state in response to the mouthpiece cover being moved to expose the mouthpiece such that the electronics module is configured to not return to the off state after the mouthpiece cover is moved to expose the mouthpiece for the first time throughout the life of the battery; and wherein the electronics module is configured to consume less power when in the off state than when in the sleep state, and configured to consume less power when in the sleep state than when in the active state.
 14. The method of claim 13, further comprising making the dose of medication available to a flow channel of the mouthpiece when the mouthpiece cover is moved to expose the mouthpiece.
 15. The method of claim 13, further comprising: starting an internal counter via a processor within the electronics module when transitioning from the off state and; timestamping the sensed inhalation or the movement of the mouthpiece cover based on the internal counter.
 16. The method of claim 13, wherein the slider is at least partially disposed within a housing of the inhaler.
 17. The method of claim 13, further comprising measuring, via the sensor of the electronics module, pressure within the inhaler until a predetermined event is detected or for a predetermined period of time after the mouthpiece cover is moved to expose the mouthpiece.
 18. The method of claim 17, further comprising determining, via the electronics module, one or more inhalation parameters based on the measured pressure.
 19. The method of claim 18, wherein the one or more inhalation parameters comprise: a peak flow rate; a time to peak flow rate; an inhaled volume; and an inhalation duration.
 20. The method of claim 19, further comprising wirelessly transmitting, via a wireless communication circuit of the electronics module, the one or more inhalation parameters to an external device.
 21. The method of claim 13, wherein the electronics module further comprises memory and a wireless communication circuit, and wherein the method further comprises the electronics module performing at least one of the following when in the active state: measuring pressure within the inhaler; determining one or more inhalation parameters based on the measured pressure; storing the one or more inhalation parameters in a local memory; advertising to an external device; and transmitting the one or more inhalation parameters to the external device.
 22. An inhaler comprising: medication; a mouthpiece; a slider; a battery; a cover configured to move between a closed position where the cover conceals the mouthpiece and an open position where the cover exposes the mouthpiece; and an electronics module configured to be in an off state, a sleep state, or an on state, the electronics module configured to consume less power when in the off state than when in the sleep state, and configured to consume less power when in the sleep state than when in the on state; and wherein the electronics module is configured to be in the off state prior to the cover being moved to expose the mouthpiece for a first time, wherein the slider is configured to actuate a switch of the electronics module in response to the cover being moved to expose the mouthpiece, wherein the first time is when the user exposes the mouthpiece for an initial use, and configured to not return to the off state after the cover is moved to expose the mouthpiece for the first time throughout the life of the battery; wherein, after the mouthpiece cover is moved to expose the mouthpiece for the first time, the electronics module is configured to be in the sleep state when the mouthpiece cover is closed and configured to transition to the on state when the mouthpiece cover is moved to expose the mouthpiece.
 23. The inhaler of claim 22, wherein the electronics module comprises a controller, a sensor, memory, and a wireless communication circuit.
 24. The inhaler of claim 23, wherein the sensor comprises a pressure sensor; and wherein the electronics module is configured to change from the on state to the sleep state upon the electronics module determining that pressure measurements received from the pressure sensor do not fall within a predetermined range for a predetermined amount of time, the predetermined amount of time based on an internal counter of the controller.
 25. The inhaler of claim 22, wherein the electronics module is configured to start an internal counter when transitioning from the off state, and wherein the electronics module is configured to timestamp a sensed inhalation or an opening of the mouthpiece cover based on the internal counter. 